package org.travelfusion.xmlclient.ri.xobject.misc;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * A supplier route.
 */
public class XGetSupplierRoutesItem implements Serializable, IsSerializable {
	
	private XGetSupplierRoutesDetails origin;
	private XGetSupplierRoutesDetails destination;
	
	/**
	 * Returns the destination.
	 * 
	 * @return the destination
	 */
	public XGetSupplierRoutesDetails getDestination() {
		return destination;
	}
	
	/**
	 * Returns the origin.
	 * 
	 * @return the origin
	 */
	public XGetSupplierRoutesDetails getOrigin() {
		return origin;
	}
	
	/**
	 * Sets the destination.
	 * 
	 * @param destination the destination
	 */
	public void setDestination(XGetSupplierRoutesDetails destination) {
	    this.destination = destination;
	}
	
	/**
	 * Sets the origin.
	 * 
	 * @param origin the origin
	 */
	public void setOrigin(XGetSupplierRoutesDetails origin) {
	    this.origin = origin;
	}

}
